// 拆出来 是为了后期维护特定的路由规则方便
import Layout from '@/layout'
// 盘点管理
export default {
  path: '/CheckManage',
  component: Layout,
  redirect: '/CheckManage/CheckOrder',
  name: 'CheckManage',
  alwaysShow: true,
  meta: {
    title: 'CheckManage',
    icon: 'el-icon-receiving',
    affix: false
  },
  children: [
    {
      path: 'CheckOrder',
      component: () => import('@/views/CheckManage/CheckOrder.vue'), // Parent router-view
      name: 'CheckOrder',
      meta: { title: 'CheckOrder', icon: 'el-icon-link', affix: false }
    },
    {
      path: 'InventoryOrderHistory',
      component: () => import('@/views/CheckManage/InventoryOrderHistory.vue'), // Parent router-view
      name: 'InventoryOrderHistory',
      meta: { title: 'InventoryOrderHistory', icon: 'el-icon-link', affix: false }
    },
    {
      path: 'CheckTask',
      component: () => import('@/views/CheckManage/CheckTask.vue'), // Parent router-view
      name: 'CheckTask',
      meta: { title: 'CheckTask', icon: 'el-icon-link', affix: false }
    },
    {
      path: 'CheckHistory',
      component: () => import('@/views/CheckManage/CheckHistory.vue'), // Parent router-view
      name: 'CheckHistory',
      meta: { title: 'CheckHistory', icon: 'el-icon-link', affix: false }
    },
    {
      path: 'CheckLoss',
      component: () => import('@/views/CheckManage/CheckLoss.vue'), // Parent router-view
      name: 'CheckLoss',
      meta: { title: 'CheckLoss', icon: 'el-icon-link', affix: false }
    },
    {
      path: 'CheckLog',
      component: () => import('@/views/CheckManage/CheckLog.vue'), // Parent router-view
      name: 'CheckLog',
      meta: { title: 'CheckLog', icon: 'el-icon-document', affix: false }
    }
  ]
}
